---
sidebar_position: 4
toc_min_heading_level: 2
toc_max_heading_level: 2
---

# Callback

## 模块概览

:::info

各模块回调相关

:::

| 模块名称                                                                          | 模块功能简介             |
| --------------------------------------------------------------------------------- | ------------------------ |
| [onError](docs/sdks/Callback/onError.mdx)                                         | 请求失败的回调体         |
| [onSuccess](docs/sdks/Callback/onSuccess.mdx)                                     | 请求成功的回调体         |
| [onFriendApplicationAdded](docs/sdks/Callback/onFriendApplicationAdded.mdx)       | 好友申请新增通知         |
| [onFriendApplicationRejected](docs/sdks/Callback/onFriendApplicationRejected.mdx) | 好友申请被拒绝           |
| [onFriendApplicationAccepted](docs/sdks/Callback/onFriendApplicationAccepted.mdx) | 好友申请被接受           |
| [onFriendApplicationDeleted](docs/sdks/Callback/onFriendApplicationDeleted.mdx)   | 好友申请被删除           |
| [onFriendAdded](docs/sdks/Callback/onFriendAdded.mdx)                             | 好友新增通知             |
| [onFriendDeleted](docs/sdks/Callback/onFriendDeleted.mdx)                         | 好友删除通知             |
| [onFriendInfoChanged](docs/sdks/Callback/onFriendInfoChanged.mdx)                 | 好友资料变更通知         |
| [onBlackAdded](docs/sdks/Callback/onBlackAdded.mdx)                               | 黑名单新增通知           |
| [onGroupMemberAdded](docs/sdks/Callback/onGroupMemberAdded.mdx)                   | 新成员加入群通知         |
| [onGroupMemberDeleted](docs/sdks/Callback/onGroupMemberDeleted.mdx)               | 成员离开群通知           |
| [onGroupMemberInfoChanged](docs/sdks/Callback/onGroupMemberInfoChanged.mdx)       | 成员信息发生变更通知     |
| [onJoinedGroupAdded](docs/sdks/Callback/onJoinedGroupAdded.mdx)                   | 已加入的群有新加入通知   |
| [onJoinedGroupDeleted](docs/sdks/Callback/onJoinedGroupDeleted.mdx)               | 已加入的群被删除通知     |
| [onGroupInfoChanged](docs/sdks/Callback/onGroupInfoChanged.mdx)                   | 已加入的群的信息变更通知 |
| [onGroupApplicationAccepted](docs/sdks/Callback/onGroupApplicationAccepted.mdx)   | 群申请被接受通知         |
| [onGroupApplicationAdded](docs/sdks/Callback/onGroupApplicationAdded.mdx)         | 有人申请加群通知         |
| [onGroupApplicationDeleted](docs/sdks/Callback/onGroupApplicationDeleted.mdx)     | 群申请有删除通知         |
| [onGroupApplicationRejected](docs/sdks/Callback/onGroupApplicationRejected.mdx)   | 群申请有拒绝通知         |
